import { baseUrlConfig } from '@/config/config';
import request from '@/utils/request'

const bastPath = baseUrlConfig.processBaseUrl

// 分页查询遗失物品回收站
export const getGoodsLostList = (data: any) => {
  return request({
    url: bastPath + '/lose/goodsLost/find/page',
    method: 'post',
    data
  })
}

// 查询遗失物品详情
export const getGoodsLostDetail = (data: any) => {
  return request({
    url: bastPath + '/lose/goodsLost/detail',
    method: 'post',
    data
  })
}

// 分页查询捡拾物品回收站
export const getGoodsRecycleList = (data: any) => {
  return request({
    url: bastPath + '/lose/goodsRecycle/find/page',
    method: 'post',
    data
  })
}

// 查询捡拾物品详情
export const getGoodsRecycleDetail = (data: any) => {
  return request({
    url: bastPath + '/lose/goodsRecycle/detail',
    method: 'post',
    data
  })
}